package com.recruit.common.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 每个企业内的岗位总数
 * @author Eval
 * @since 2023-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PosComCtDO extends BaseModel {

    /**
     * 企业ID
     */
    private Integer id;

    /**
     * 企业名称
     */
    private String name;

    /**
     * 岗位数量
     */
    private Integer posNum;


    public PosComCtDO() {}

    public PosComCtDO(Integer id, String name, Integer posNum) {
        this.id = id;
        this.name = name;
        this.posNum = posNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPosNum() {
        return posNum;
    }

    public void setPosNum(Integer posNum) {
        this.posNum = posNum;
    }
}
